<template>
  <h1>大笨猪</h1>
</template>

<script>
import elDragDialog from '@/directive/el-dragDialog' // base on element-ui
// import store from '@/store'
// import { edit, getGoodTagList, getSpikeGoodSkuById, updateRedisSpikeGood } from '@/api/spike/spike_goods'
// import { client } from '@/utils/alioss'
// import Tinymce from '@/components/Tinymce'

export default {
  name: 'DragDialogDemo',
  directives: { elDragDialog },
  // components: { Tinymce },
  props: {
    row_data: {
      type: Object,
      default: function() {
        return null
      }
    }
  },
  data() {
    return {
      dialogTableVisible: false,
      isDisable: false,
      defaultValue: 2,
      defaultValue1: 0
    }
  },
  methods: {
    editPage() {
      this.dialogTableVisible = true
    },
    submitForm() {
    },
    close() {
      this.dialogTableVisible = false
    },
    handleClick(tag, event) {
      // console.log('tag', tag)
      // console.log('event', event)
    }
  }
}
</script>

<style>
  /* 图片上传的样式 */
  .avatar-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .avatar-uploader .el-upload:hover {
    border-color: #409EFF;
  }
  .avatar-uploader-icon {
    color: #8c939d;
    text-align: center;
  }
  .avatar {
    display: block;
  }
  .upload-container > .el-button {
    width: 100%;
  }
  /* 商品主图(product_main_photo)图片上传组件的尺寸 */
  .upload_product_main_photo .avatar-uploader-icon{
    font-size: 28px;
    min-width: 178px;
    height: 178px;
    line-height: 178px;
  }
  .upload_product_main_photo .avatar{
    min-width: 178px;
    height: 178px;
  }
  /* 商品附图(product_drawing)图片上传组件的尺寸 */
  .upload_product_drawing .avatar-uploader-icon{
    font-size: 28px;
    min-width: 178px;
    height: 178px;
    line-height: 178px;
  }
  .upload_product_drawing .avatar{
    min-width: 178px;
    height: 178px;
  }
  .image-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 178px;
    height: 178px;
    line-height: 178px;
  }
  .image-uploader .el-upload:hover {
    border-color: #409eff;
  }
  .image-uploader-icon {
    font-size: 28px;
    color: #8c939d;
    width: 178px;
    height: 178px;
    line-height: 178px;
    text-align: center;
  }
</style>
